[INFO] cloning repository https://github.com/refracta/dfint-rust-cjk-ko
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/refracta/dfint-rust-cjk-ko" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frefracta%2Fdfint-rust-cjk-ko", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frefracta%2Fdfint-rust-cjk-ko'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 88e9fec3206d562fb7d34fd43b6b340a4a27ff0f
[INFO] fixing refracta/dfint-rust-cjk-ko against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frefracta%2Fdfint-rust-cjk-ko" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/refracta/dfint-rust-cjk-ko
[INFO] finished tweaking git repo https://github.com/refracta/dfint-rust-cjk-ko
[INFO] tweaked toml for git repo https://github.com/refracta/dfint-rust-cjk-ko written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/refracta/dfint-rust-cjk-ko on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/refracta/dfint-rust-cjk-ko already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2d0dfba0d3a5ec1a6ab2b96335be87921c1cb4dd238ecb614e975f9d00334f74
[INFO] running `Command { std: "docker" "start" "2d0dfba0d3a5ec1a6ab2b96335be87921c1cb4dd238ecb614e975f9d00334f74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d0dfba0d3a5ec1a6ab2b96335be87921c1cb4dd238ecb614e975f9d00334f74" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d0dfba0d3a5ec1a6ab2b96335be87921c1cb4dd238ecb614e975f9d00334f74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d0dfba0d3a5ec1a6ab2b96335be87921c1cb4dd238ecb614e975f9d00334f74" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling static_init_macro v1.0.4
[INFO] [stderr]    Compiling x11 v2.21.0
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling static_init v1.0.4
[INFO] [stderr]    Compiling device_query v4.0.1
[INFO] [stderr]     Checking gimli v0.32.3
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling sdl2 v0.38.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking iced-x86 v1.21.0
[INFO] [stderr]    Compiling sdl2-sys v0.38.0
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]     Checking rustc-demangle v0.1.26
[INFO] [stderr]     Checking plain v0.2.3
[INFO] [stderr]     Checking slice-pool2 v0.4.3
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking checksum v0.2.1
[INFO] [stderr]     Checking thread-id v3.3.0
[INFO] [stderr]     Checking region v3.0.2
[INFO] [stderr]     Checking mmap-fixed-fixed v0.1.3
[INFO] [stderr]     Checking simple-logging v2.0.2
[INFO] [stderr]    Compiling raw v0.1.0 (/opt/rustwide/workdir/src/raw)
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]     Checking addr2line v0.25.1
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]    Compiling scroll_derive v0.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling macro v0.1.0 (/opt/rustwide/workdir/src/macro)
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]     Checking scroll v0.13.0
[INFO] [stderr]     Checking goblin v0.10.3
[INFO] [stderr]     Checking retour v0.4.0-alpha.4
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking dfint_hook v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `dfint_hook`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected path
[INFO] [stderr]              --> src/lib.rs:18:3
[INFO] [stderr]               |
[INFO] [stderr]            18 | #[unsafe(no_mangle)]
[INFO] [stderr]               |   ^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected path
[INFO] [stderr]              --> src/lib.rs:41:3
[INFO] [stderr]               |
[INFO] [stderr]            41 | #[unsafe(no_mangle)]
[INFO] [stderr]               |   ^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   attach_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub unsafe fn attach_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   attach_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 |   attach_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   attach_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |   attach_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   attach_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   attach_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 |   attach_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 |   enable_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub unsafe fn enable_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |   enable_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |   enable_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |   enable_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |   enable_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 |   enable_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   enable_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 |   enable_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 |   disable_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub unsafe fn disable_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 |   disable_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 |   disable_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 |   disable_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 |   disable_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 |   disable_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 |   disable_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 |   disable_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |   std::env::set_var("RUST_BACKTRACE", "1");
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/newly-unsafe-functions.html>
[INFO] [stdout]    = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code
[INFO] [stdout]    |
[INFO] [stdout] 20 +   // FIXME: Audit that the environment access only happens in single-threaded code.
[INFO] [stdout] 21 ~   unsafe { std::env::set_var("RUST_BACKTRACE", "1") };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `dfint_hook`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected path
[INFO] [stderr]              --> src/lib.rs:18:3
[INFO] [stderr]               |
[INFO] [stderr]            18 | #[unsafe(no_mangle)]
[INFO] [stderr]               |   ^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected path
[INFO] [stderr]              --> src/lib.rs:41:3
[INFO] [stderr]               |
[INFO] [stderr]            41 | #[unsafe(no_mangle)]
[INFO] [stderr]               |   ^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   attach_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub unsafe fn attach_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   attach_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 |   attach_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   attach_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |   attach_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.45s
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   attach_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   attach_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 |   attach_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 |   enable_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub unsafe fn enable_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |   enable_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |   enable_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |   enable_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |   enable_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 |   enable_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   enable_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 |   enable_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 |   disable_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub unsafe fn disable_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 |   disable_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 |   disable_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 |   disable_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 |   disable_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 |   disable_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 |   disable_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 |   disable_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |   std::env::set_var("RUST_BACKTRACE", "1");
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/newly-unsafe-functions.html>
[INFO] [stdout]    = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code
[INFO] [stdout]    |
[INFO] [stdout] 20 +   // FIXME: Audit that the environment access only happens in single-threaded code.
[INFO] [stdout] 21 ~   unsafe { std::env::set_var("RUST_BACKTRACE", "1") };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: dfint_hook v0.1.3 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking dfint_hook v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   attach_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub unsafe fn attach_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   attach_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 |   attach_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   attach_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |   attach_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   attach_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   attach_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 |   attach_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 |   enable_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub unsafe fn enable_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |   enable_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |   enable_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |   enable_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |   enable_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 |   enable_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   enable_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 |   enable_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 |   disable_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub unsafe fn disable_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 |   disable_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 |   disable_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 |   disable_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 |   disable_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 |   disable_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 |   disable_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 |   disable_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |   std::env::set_var("RUST_BACKTRACE", "1");
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dfint_hook` (lib) due to 4 previous errors; 24 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 10 |   attach_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub unsafe fn attach_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   attach_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 |   attach_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 |   attach_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 |   attach_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 |   attach_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   attach_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::attach_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 17 |   attach_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 |   enable_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub unsafe fn enable_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |   enable_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |   enable_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |   enable_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |   enable_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:28:3
[INFO] [stdout]    |
[INFO] [stdout] 28 |   enable_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |   enable_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::enable_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 |   enable_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 |   disable_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/hooks.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub unsafe fn disable_all() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_top_addst` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 |   disable_top_addst()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_addst_flag` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 |   disable_addst_flag()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_gps_allocate` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 |   disable_gps_allocate()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_update_all` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 |   disable_update_all()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_update_tile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 |   disable_update_tile()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_draw_horizontal_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 |   disable_draw_horizontal_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `hooks::disable_draw_nineslice` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/hooks.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 |   disable_draw_nineslice()?;
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/lib.rs:20:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |   std::env::set_var("RUST_BACKTRACE", "1");
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dfint_hook` (lib test) due to 4 previous errors; 24 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2d0dfba0d3a5ec1a6ab2b96335be87921c1cb4dd238ecb614e975f9d00334f74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d0dfba0d3a5ec1a6ab2b96335be87921c1cb4dd238ecb614e975f9d00334f74", kill_on_drop: false }`
[INFO] [stdout] 2d0dfba0d3a5ec1a6ab2b96335be87921c1cb4dd238ecb614e975f9d00334f74
